<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="/static/css/icon.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/weui.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/weui2.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/style.css"/>
    <script src="/static/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
    <script src="/static/js/zepto.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/static/js/picker.js" type="text/javascript" charset="utf-8"></script>
    <script src="/static/js/vue.js" type="text/javascript" charset="utf-8"></script>
    <script src="/static/js/all.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="content">
    <div class="topBox">
        <div class="top">
            <div class="sign"><img src="/static/img/return.png"/></div>
            <div class="title">
                <p>退品情况</p>
            </div>
        </div>
        <div class="data"><input class="dataInput" type="text" value="{{ now_date }}" id='date'/></div>
    </div>
    <div class="cont">
        <div class="core">
            <table class="main">
                <thead>
                <tr>
                    <th>账单号</th>
                    <th>菜品</th>
                    <th>数量</th>
                    <th>单价</th>
                    <th>总额</th>
                    <th>操作人</th>
                </tr>
                </thead>
                <tbody>
                {% for d in data_list %}
                <tr>
                    <td>{{ d.order_number }}</td>
                    <td>{{ d.goods_name }}</td>
                    <td>{{ d.count }}</td>
                    <td>{{ d.unit_price }}</td>
                    <td>{{ d.money }}</td>
                    <td>{{ d.handler_name or '' }}</td>
                </tr>
                {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
</div>
<script type="text/javascript">
    //选择日期
    $("#date").datetimePicker({title: "选择日期", m: 1});
</script>
</body>
</html>
